package com.caregiver.watch.business.user.service;

import com.caregiver.watch.business.user.model.dto.BindAddressParam;
import com.caregiver.watch.business.user.model.dto.EditAddressParam;
import com.caregiver.watch.business.user.model.po.UserAddress;
import com.caregiver.watch.business.user.model.vo.DeliveryAddressVo;

import java.util.List;

/**
 * @Description: 用户地址服务
 * @Author 疆戟
 * @Date 2025/8/17 17:43
 * @Version 1.0
 */
public interface UserAddressService {

    /**
     * 绑定收货地址
     * @param param
     * @return
     */
    Boolean bindAddress(BindAddressParam param);

    /**
     * 查询收货地址
     * @return
     */
    List<DeliveryAddressVo> queryAddress();

    /**
     * 删除收货地址
     * @param addressId
     * @return
     */
    Boolean deleteAddress(Long addressId);

    /**
     * 修改收货地址
     * @param param
     * @return
     */
    Boolean editAddress(EditAddressParam param);
}
